package Demo03;

public class Test {
    public static void main(String[] args) {
        UITeacher uiTeacher = new UITeacher();
        JavaTeacher javaTeacher = new JavaTeacher();
//        Staff javaTeacher = new JavaTeacher();
//        Staff staff =new  UITeacher();
//        UITeacher uiTeacher = (UITeacher) staff;
        uiTeacher.draw();
        uiTeacher.work();
        javaTeacher.work();
    }
}
